package easytasks.logic;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class TaskNotificationAlarmReceiver extends BroadcastReceiver
{	
	@Override
	public void onReceive(Context context, Intent intent) 
	{
		if (context == null) throw new IllegalArgumentException("'context' must be not null.");
		
		// Show notification
		new TaskNotificationManager(context).showNotification();
	}
}
